package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBProduct {

	public ArrayList<Product> getAllProduct(boolean retriveAssociation);
	public Product findProduct(int id, boolean retriveAssociation);
	public Product searchProductOnName(String name, boolean retriveAssociation);
	
	public int insert(Product product) throws Exception;
	public int update(Product product);
	public int delete(int id);
}
